
/**
 * @constructor
 * @returns {Assert}
 */
function Assert() {
	
	/**
	 * @public
	 * @param {boolean} condition
	 * @param {string} message
	 */
	this.assertTrue = function(condition, message) {
		if(!condition) {
			throw new Error(message);
		}
	};
	
	/**
	 * @public
	 * @param left
	 * @param right
	 * @param {string} message
	 */
	this.assertEquals = function(left, right, message) {
		if(left!=right) {
			throw new Error(message);
		}
	};
};